package com.zhao.service;

import com.zhao.model.Fruit;

import java.math.BigDecimal;
import java.util.Map;

// 促销策略接口
public interface PromotionStrategy {

    BigDecimal calculate(Map<Fruit, Integer> fruitQuantities);

    int getPriority(); // 返回策略的优先级
}